import Taro, { Component } from '@tarojs/taro'
import { View, Button, Text } from '@tarojs/components'
import { observer, inject } from '@tarojs/mobx'
import { AtIcon, AtInput, AtButton } from 'taro-ui'
import './getGoods.scss'


@inject('counterStore')
@observer
class GetGoods extends Component {

    config = {
        navigationBarTitleText: '确认提货',
        navigationBarTextStyle: 'black',
        navigationBarBackgroundColor: '#fff',
    }
    constructor() {
        super(...arguments)
        this.state = {
            value: ''
        }
    }
    handleChange = (value) => {
        this.setState({
            value
        })
    }
    componentWillMount() {
        console.log('componentWillMount----');
    }

    componentWillReact() {
        console.log('componentWillReact')
    }

    componentDidMount() { }

    componentWillUnmount() { }

    componentDidShow() { }

    componentDidHide() { }
    render() {
        const { counterStore: { counter } } = this.props
        const { icon } = this.state;
        return (
            <View className='order-page'>

                <View className="order-box">
                    <View className="oder-header">
                        <View className="order-number">订单编号：2020392183921212</View>
                        <View className="order-status">未提货</View>
                    </View>
                    <View className="shop-box">
                        <View className="shope-name">果果平价店</View>
                        <View className='types'>配送方式：商家配送</View>
                    </View>
                    <View className="goodsList">
                        <View className="item"><View className="name">哇哈哈AD钙奶*24整箱装</View><View className="type">拼团价</View><View className="price">¥36.00</View><View className="number">x1</View></View>
                        <View className="item"><View className="name">哇哈哈AD钙奶*24整箱装</View><View className="type">拼团价</View><View className="price">¥36.00</View><View className="number">x1</View></View>
                        <View className="item"><View className="name">哇哈哈AD钙奶*24整箱装</View><View className="price">¥36.00</View><View className="number">x1</View></View>
                    </View>
                    <View className="total"><View className="left">共2件商品</View><View className="right">合计：¥72.00</View></View>
                    <View className="contact">
                        <View>提货人：李晓明</View>
                        <View>联系方式：137****4348</View>
                    </View>
                    <View className="handle">
                        <View className="button">确认提货</View>
                    </View>
                </View>
            </View>
        )
    }
}

export default GetGoods
